package name.as3.frameworkTest.commands
{
import name.as3.cmdFrameworks.interfaces.INotification;
import name.as3.frameworkTest.enums.UIPanelType;
import name.as3.frameworkTest.mediators.LoginPanelMediator;
import name.as3.frameworkTestSupport.command.TestAppCommand;

public class OnReadLastUserCommand extends TestAppCommand
{
	/**
	 *
	 */
	public function OnReadLastUserCommand()
	{
		super();
	}
//==================================================================================================
// public
//==================================================================================================
	override public function execute(obNote:INotification):void
	{
		var str:String = obNote.data;
		var m:LoginPanelMediator = 
			LoginPanelMediator( uiManager.getMediator(UIPanelType.LoginPanel) );
		m.userName = str;
	}
}
}